package com.quickcancellation.crm.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2023-03-12
 */
@TableName("od_t_order")
@ApiModel(value = "Order对象", description = "")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("订单code")
    private String orderCode;

    @ApiModelProperty("订单商品总数量")
    private Integer amount;

    @ApiModelProperty("净销量")
    private Integer netSales;

    @ApiModelProperty("总金额")
    private BigDecimal totalMoney;

    @ApiModelProperty("实际付款金额")
    private BigDecimal actualMoney;

    @ApiModelProperty("优惠金额")
    private BigDecimal preferMoney;

    @ApiModelProperty("行动计划id")
    private Long activityId;

    @ApiModelProperty("下单门店id")
    private Long storeId;

    @ApiModelProperty("供货商id")
    private Long supplierId;

    private String createOp;

    @ApiModelProperty("创建人")
    private String createTime;

    @ApiModelProperty("更新人")
    private String updateOp;

    @ApiModelProperty("更新时间")
    private String updateTime;

    @ApiModelProperty("审核人")
    private String auditOp;

    @ApiModelProperty("审核时间")
    private String auditTime;

    @ApiModelProperty("审核状态 1-待业务审核 2-待仓库审核 3-待发货 4-已发货 5-已发货 6-已签收 7-已驳回")
    private Integer auditStatus;

    @ApiModelProperty("审核备注")
    private String auditRemark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }
    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }
    public Integer getNetSales() {
        return netSales;
    }

    public void setNetSales(Integer netSales) {
        this.netSales = netSales;
    }
    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }
    public BigDecimal getActualMoney() {
        return actualMoney;
    }

    public void setActualMoney(BigDecimal actualMoney) {
        this.actualMoney = actualMoney;
    }
    public BigDecimal getPreferMoney() {
        return preferMoney;
    }

    public void setPreferMoney(BigDecimal preferMoney) {
        this.preferMoney = preferMoney;
    }
    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }
    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }
    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }
    public String getCreateOp() {
        return createOp;
    }

    public void setCreateOp(String createOp) {
        this.createOp = createOp;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getUpdateOp() {
        return updateOp;
    }

    public void setUpdateOp(String updateOp) {
        this.updateOp = updateOp;
    }
    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
    public String getAuditOp() {
        return auditOp;
    }

    public void setAuditOp(String auditOp) {
        this.auditOp = auditOp;
    }
    public String getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(String auditTime) {
        this.auditTime = auditTime;
    }
    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }
    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }

    @Override
    public String toString() {
        return "Order{" +
            "id=" + id +
            ", orderCode=" + orderCode +
            ", amount=" + amount +
            ", netSales=" + netSales +
            ", totalMoney=" + totalMoney +
            ", actualMoney=" + actualMoney +
            ", preferMoney=" + preferMoney +
            ", activityId=" + activityId +
            ", storeId=" + storeId +
            ", supplierId=" + supplierId +
            ", createOp=" + createOp +
            ", createTime=" + createTime +
            ", updateOp=" + updateOp +
            ", updateTime=" + updateTime +
            ", auditOp=" + auditOp +
            ", auditTime=" + auditTime +
            ", auditStatus=" + auditStatus +
            ", auditRemark=" + auditRemark +
        "}";
    }
}
